package com.spring.springbootblog.service;

import com.spring.springbootblog.common.pojo.request.UserLoginParam;
import com.spring.springbootblog.common.pojo.response.UserInfoResponse;
import com.spring.springbootblog.common.pojo.response.UserLoginResponse;
import jakarta.validation.constraints.NotNull;

public interface UserService {
    UserLoginResponse login(UserLoginParam userParam);

    UserInfoResponse getUserInfoById(Integer userId);

    UserInfoResponse getAuthorInfo(@NotNull Integer blogId);
}
